<template>
  <view class="page">
    <view class="menu">
      <!-- <view class="item" @tap="onBind">
        <view class="name">
          <text>绑定手机号</text>
        </view>
        <view class="arrow" />
      </view> -->
      <!-- <view class="item" @tap="onAccountDel">
        <view class="name">账号注销</view>
        <view class="arrow" />
      </view> -->
      <view class="item" @tap="onFeedback">
        <view class="name">意见反馈</view>
        <view class="arrow" />
      </view>

      <view class="item" @tap="onAbout">
        <view class="name">关于我们</view>
        <view class="arrow" />
      </view>
    </view>
  </view>
</template>

<script setup>
const onBind = () => {
  uni.navigateTo({
    url: '/pages/user/bind/bind'
  });
};

const onAccountDel = () => {
  uni.showToast({
    title: '账号注销',
    icon: 'none'
  });
  uni.navigateTo({
    url: '@/pages/user/destroy/destroy'
  });
};

const onFeedback = () => {
  uni.navigateTo({
    url: '/pages/user/feedback/feedback'
  });
};
const onAbout = () => {
  uni.navigateTo({
    url: '/pages/user/about/about'
  });
};
</script>

<style lang="scss" scoped>
@import './setting.scss';
</style>
